The town clerk and treasurer of each town shall have all the powers and duties, respectively, of the clerk and treasurer of a school district, except so far as such duties are rendered unnecessary by the provisions of this chapter.