Fix scripts regression test.
use os.path.join() and python.exe under Windows.