Special-case paths that don't have slashes. For those we fuzzily match
source files by requiring .[CHMchm]