bzip2 encoder is working