Whenever any officer, department head or board or commission member shall resign or be removed from office, or the term for which he has been elected or appointed shall have expired, he shall on demand deliver over to his successor in office all the books, papers, money, and effects in his office; and any person willfully violating this provision shall be deemed guilty of a misdemeanor.