Every person is punishable by a fine not exceeding five thousand dollars ($5,000), or by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code for 16 months or two or three years, or in a county jail not exceeding one year, or by both that fine and imprisonment, who files in the office of the elections official or other officer designated by law to receive the filing, any initiative, referendum, or recall petition to which is attached, appended or subscribed any signature which the person filing the petition knows to be false or fraudulent or not the genuine signature of the person whose name it purports to be.