Fix check for text type to use same fallback stuff [and only check for ord when it's not bytes
PEP8 cleanup of my checkin