Implement fsync on autosave.