Fix upload_forms.py so that it will run on windows python

For @najalbert