pub fn write_license(license_text: &str, output_path: &str) -> Result<(), Error>