Account for the trailing null in escapeByteA

libPQ gives the length of the escaped string *including* the null terminator.
This meant that the string constructed for the query contained a null byte and
libPQ would stop processing the query there.

Fixes #15