pub fn write_string( path: impl AsRef<Path>, content: impl AsRef<str>, ) -> Result<()>
Write UTF-8 text, creating the destination parent directory when needed.