Python3 fixes

Py3 compat client libraries are pretty much mandatory these days.
Paying it back for the free tier I suppose.

cheers.