bugfix python scripts for NSIS installer