Preserve Buffer query values.

[node-mysql](https://github.com/felixge/node-mysql) uses `Buffer` objects for interacting with `BINARY` column types.

Buffers were incorrectly traversed as objects, so I added a type check to preserve buffers (similar to how `Date` objects are treated).