Fixed QuoteNode printing and comparison

Also a tiny bug that was causing dump to print arrays to STDOUT rather than the requested IO.