pub fn file_stem_without_compound_extension(input: &str) -> Option<String>
Extracts the file stem while removing a supported compound extension when present.