Moved files around, changed tiff_io

Changed uint64 to "tsize_t", so that the program should compile and work
correctly regardless of OS or version of libtiff.