Each county officer is made liable upon his or her respective official bond, for the payment to the receiver of taxes and county treasurer or the department of finance of the county of such officer of all the fees which such officer shall collect. All the official bonds to be entered into by the officers shall contain the following condition: