FIX: Fixes for Py3k

A couple if minor fixes to make the Python realtime client (more) Py3k compatible.