settings: use fsync / fdatasync on Linux to sync contents