An interface to allow writing bzip2 compressed data to files or buffer
