Add support for properly saving binary data

 - Previously it was being converted to a PGObject, and from there by best guess to a String