fixed "cd" command in python, replace it by "os.chdir()" syntax