When any office shall from any cause become vacant, and no mode is provided by the constitution or law for filling such vacancy, the governor shall have power to fill such vacancy by appointment.