Whoever maintains any ferry for transporting across any river, stream or lake, persons, goods, chattels or effects for profit or hire, unless duly authorized according to law, shall be punished by fine not exceeding $20. When any offense mentioned in this section is committed on streams dividing counties the offender may be prosecuted in either county.