support reading from postgres 'bytea' type