Improve error messages when react-tools transform fails

I've had some syntax errors that just ended up with a lot of research work because I didn't log the file that was failing in the compile step. This should help