pub fn save(path: &Path, file: &ConfigFile) -> Result<(), String>
Rewrites the whole file atomically: writes a temporary file next to it and renames it over the original. On Unix the file is created with 0600 permission.
0600