Section 45. No person shall demand or accept from any applicant for the position of teacher in the public schools a fee or other compensation exceeding two dollars, and no additional sum shall be charged to cover expenses or for any other reason, except that further compensation, not exceeding five per cent of the teacher's salary for the first year, provided the position is open to the teacher for said period, may be charged for procuring such position. Violation of this section shall be punished by a fine of not less than fifty nor more than five hundred dollars.