Add support for writing Binary

Also, write Ruby strings as Erlang strings, the right way