Exceptions from TIFF

Hi,

By refactoring some exception stuff and by using Apache Tika we can report problems to the user with TIFF files.  They'll see an error message about their TIFFs rather than just a "run time exception", and they will see the file name of the one causing the grief.

This fixes #336.