Patched decompression process for wget/curl.