In any district the governing board of which is required to elect a clerk, the superintendent of schools of the county shall appoint one of the members of the governing board to fill the office of district clerk if a clerk is not elected by the governing board on the date prescribed, or if, except as provided in Section 35039, a vacancy occurs in the position of district clerk.