No county treasurer shall deposit any public funds in the treasurer’s individual name, or in any other capacity than as treasurer, under the penalty of $500 for each deposit so made.