Use fsync in blob storage to avoid missing blobs

This closes #30, although the lazyMD5 code might need some review.