The regular expressions used to do output parsing don't match filenames with embedded hyphens correctly. When I test a string using the very handy test feature, the string "my-file.cpp" results in "file.cpp" in the filename part.
I changed the most of the expressions to use [^:]+ in the filename part, and that seems to work.