fast-import.c: don't try to commit marks file if write failed