dont attempt to close body if we havent got an output path to compare to body path
Merge pull request #360 from JonRowe/fix_nil_path

Fix obfuscation of error in handling invalid gzip responses.