fix unicode strings with new mysqldb