update variable name path, to path_str

Avoid confusing on os.path and string path.

orig. execution failed on my ENV:: 

    python-2.7.1-7.fc15.i686 
    magpie-0.0.4-py2.7.egg

just change the name and it now works.