Now uses pipes-bytestrings and stm-chans, fixes issues #2 and #3