Fix for running scripts in certain versions of python.
If a file with the same name as the script lies in one of the paths in sys.path, then that file will be executed rather than the script. This affects only certain python versions.
Authored by: bugman 2011-01-13
Parent: [r12327]
Child: [r12329]