All receipts issued to arresting officers and all cash bonds received under Code Sections 17-6-5 and 17-6-6 shall be accounted for by the receiving officers to the court from which the receipts were issued and, in the event that any such officer fails to account for same, he shall be personally liable for any default and may be punished as for contempt by the court, in addition to any other penalties which are provided for by law in such cases.