some basic error handling for bad gzip files