Allow re-downloading a repo when its head commit is corrupted.
fsync() after writing commit objects on server.
[server] Add seaf-fsck.
[client] Fix a memory bug.
Update block transfer protocol to v2.
[client] Fix error hanlding bug in new block transfer protocol.