make-flexi-stream: Better error when stream is not an input or output stream.
Remove executable bit from files.
Merge pull request #5 from stassats/master

 make-flexi-stream: Better error when stream is not an input or output stream.