fsync test: Avoid test failure on MacOS X and AIX.