pub fn extension(path: &str, fmt: PathFormat) -> &str
Get the extension (last “.ext” including the dot).