If a county treasurer, county attorney, recorder, auditor, sheriff, medical examiner, member of the board of supervisors, engineer, steward, or matron elects to furnish a bond with an association or incorporation as surety as provided in this chapter, the reasonable cost of the bond shall be paid by the county where the bond is filed.