Unless otherwise specially provided, all fines and forfeitures imposed by a municipal court shall be for the use of the town in which the court is established, and all other fines and forfeitures shall be for the use of the county within which the offense was committed.