[tell] Fix Python 3 support

Fixes #562