Fixed a bug with stdout, also used binary mode for input and text mode for output (only matters on Windows)
Moved cap.sh to capture.sh and made it do everything in one step

I can't see a way to make `streamer` loop forever though.