Fix NPE in ResultSet.getBytes