Fixed assert() when writing uncompressible data