pub fn write_template( template: &str, output: &Path, vars: &TemplateVars, ) -> Result<()>
Render a template and write it to the given output path, creating parent directories as needed.