Memcache keys are unicode on Py3.  Closes #1697
Update trace.py

Looks like #1684 also ;)