BF: more problems with path quoting in windows

For some reason, windows was losing the closing double quote for the python
path, making a confusing mess executing the scripts.

Try again with a longer way.
Merge pull request #317 from matthew-brett/windows-script-fixes-3

BF: more problems with path quoting in windows