Ensure that bzip2 decompressor does not indicate end-of-stream until after all residual bytes have been decompressed, even if end of the underlying file stream has already been reached.