The secretary of the district shall take and subscribe a written oath of office and execute an official bond in the sum of not less than twenty-five hundred dollars to be fixed by the board of directors, and said bond shall be approved and filed as in the case of the bond of a director.