Fix tiff imp/ex tests, add more error handling
Before this commit, tiff tests failed because of the way tiff uses
savingImage() and how tests were written and how KisDocument works.
This commit makes sure that tiff tests uses KisDocument exportSync
function which copies the file to savingImage() so tiff tests doesn't
This commit also adds more error checking in tiff converter.