Fix buffer leak in Bzip2EncoderTest