Python 2 convert type arg to str without six