test/driver: Flush stdout after download progress messages
test/driver: Clean up partially-downloaded slides after failure
test/driver: Check slide hash after downloading
tifflike: Null-terminate buffers returned from get_buffer()

to prevent out-of-bounds reads if an on-disk TIFF_ASCII value isn't
properly null-terminated.