Cast to str to make buildbot happy

Stupid type checks