Added appendTo() function to imitate '>>' redirect-and-append pipe.

@arturadib updated to your newer version. Passes tests on my machine (MBP OSX 10.8.4 node v0.10.8) hopefully will pass on travis as well!