use relative import to import __version__
Corrected test for Windows.
Added clobber flag to ScriptMaker.