replace cd to os.chdir (for windows), v1.0.1