escape.py | convert to hex