Move stream-to-string to it's own module, clean up example