Implement compressed_stream::truncate(0).
When finish_compressor is called twice, produce a better debug message.
Switch back to the uncompressed stream accessor for streams.
When system read() returns wrong length, print actual and expected length in error message.
Implement sort(cstream *, Compare *, progress_indicator *).
Fix buffer reuse in compressed_stream::read()