rw: Add PrefixedWriter
rw: Rework PrefixedWriter.Write + add more test-cases
Reconfigure Travis CI to build under Mac OS X