fix bug in CBzip2InputStream compatibility