[trunk] Also override the default error handler for TIFF files