fix call to cz_write_error from cz_write_audit