fix for setNull, setString, setObject may fail if a specified type canno...

...t be transfered in a binary mode #151