Output the file currently being compiled when we encounter an error.

I just spent four hours completely restructuring a large codebase trying to chase down the source of a missing variable.  All that could have taken just five minutes if the task had reported what file it was compiling when it hit the error.  I kept thinking I had some weird race condition because I was barking up the totally wrong tree. :)