Add compression support (gzip, bz2)