Use ext2fs_close2 API if available to avoid unnecessary fsync.