[v0.11] Client: Write hash file synchronously.

-> Avoid some error.