Section 14. A person committed to a jail or house of correction in default of payment of a fine may pay it to the keeper of the jail or superintendent of the house of correction, and the warrant for his commitment shall designate the town where the offence for which the fine was imposed was committed and the uses to which such fine is payable by the officer receiving it.