pub fn save(settings: &Settings) -> Result<()>
Save settings atomically (write a temp file next to the target, then rename).