Wrap a stream to read or write LZ16.
Open file fname to read or write LZ16-compressed data depending on mode