corrected http request exception handling
added a --verify option which ignores the local cache and rehashes all files
total files downloaded should exclude files which failed to download
--afterupdate callback is no longer run when all files failed to downloaded
deleted files are now removed from the local hash cache
fixed json parser encoding issues with bad encoding in the hashes.txt file
changed local caching format from json to binary to avoid encoding issues
added additional file opening error handling