Revert "upgraded to libtiff 4.1": TIFF export functions seem to be unable to overwrite existing files.

This reverts commit 77c90f29c4208149776702c8f4002ece723931b9.