Fix incorrect modification of bytea data when updating rows that contain bytea columns.
Based on the POC patch from ioguix.
This fixes SF Bug # 3243916.
Merge pull request #11 from xzilla/master

fix issues with bytea columns. with help and testing from ioguix, Marek Černocký, and Ian Barwick