Made several changes to have script work on windows with Python 3.3
Merge pull request #1 from subatta/win_py33_update

Made several changes to have script work on windows with Python 3.3 and teamcity 7.1.5