Every person solemnizing a civil marriage who neglects to file a certificate with the local registrar within the time set forth in section 517.10 shall forfeit a sum not exceeding $100, and every local registrar who neglects to record a certificate shall forfeit a like sum.