Compatibility fix for Python3 (Issue #4783 )

this doesn't fix the download part, but it fixes the parallell part