add compression support

gzip, bz2, xz