Don't fdatasync() in file mode when syncing disabled.