Output more helpful error information.

This ensures that the name of the file the transform failed on is output to the console.