pub fn get_format_extension(format: &str) -> Result<String>
Get the file extension for a format. Returns the default file extension associated with the format, if any.