Capture multi-line error output

If a tool outputs multi-line errors, it is a lot more useful to join the lines
that don't match the filename:line format to a previous error.