Create a compressing or decompressing stream. If an interp is given, bind the stream to a command in that interpreter (if interp is NULL, leave it unbound.)