Whoever, being a sheriff, jailer or other person having the care and custody of any jail, workhouse, prison or other lawful place of confinement, suffers the same to become foul or unclean shall, on conviction, be fined not less than $10 nor more than $100.