switch to use setBytes whenever we are writing a blob since some

jdbc implementations have trouble with input streams (looking at
you mysql).