pub fn save_text(path: &Path, text: &str) -> Result<()>
Thin file write used by scene and script saves.