Some bz2 archives contain concatenated streams, libbz2 returns BZ_STREAM_END with possibly leftover data on input buffer. We should support this case gracefully.