implement RLECOMPRESSED chunk encoding, closes #598