Fix small typo.
Add operator |>> for printing anything to a writable stream.

Replaced all uses of writeTo with the new operator in unit tests, test scripts and readme.