updating lz4 compression to work with multi-byte strings