Support bzip2

Before it was hardcoded to gzip.