Any person to whom the provisions of § 46-33-10 apply failing or refusing to file the bond or pay the license tax as aforesaid shall be guilty of a misdemeanor and be subject to a fine of not more than five hundred dollars or imprisonment for not more than two years, or both such fine and imprisonment within the discretion of the court.