Fix for Python 3 and string.join