Allow re-downloading a repo when its head commit is corrupted.
fsync() after writing commit objects on server.