Section 169. A city or town officer who refuses or willfully neglects to perform the duties imposed upon the officer by this chapter relating to dogs shall be punished by a fine of not less than $100, which shall be paid to the city or town. Whoever is aggrieved by such refusal or neglect may report the same forthwith to the district attorney of his district.