A railroad company shall maintain, wherever its lines cross a public road, a proper and conspicuous sign indicating the crossing. A railroad company failing to comply with this section shall forfeit to the town or municipality having charge of the road $10 for each day the failure continues.