fix for mysql-connector-python, return str changed to bytearray