pub fn extension_from_path(input: &str) -> Option<String>
Extracts the final simple extension from a path-like input.