Whenever any officer or employee shall cease to hold such office or employment for any reason whatsoever, he shall within five days, or sooner on demand, deliver to his successor in office, or to his superior, all the books, papers, moneys, and effects in his custody as such officer or employee. Any officer violating this provision may be proceeded against in the same manner as public officers generally for a like offense under statute.