made tiftoh5.py capable of reading and saving arbitrarily between h5 and tif