Fix side effects of BLOB attribute writes
- Fix incorrect quoting around BLOB data.
- Send parameter values with size less than the chunk multiple in a
  single send.