fsync() after writes in tests to avoid buffering