Make pipelining buffer use compressed streams. Fixes #161.