bzwrite() writes the contents of
the string data to the
bzip2 file stream pointed to by
bz. If the optional
length argument is given, writing will stop after
length (uncompressed) bytes have been written or the end of
string is reached, whichever comes first.