autobuild: Convert old py3 tasks to py2