messes with compat function names. Fix errno. Use bzip2 to extract a bzipped file, it works somehow better than gzip.