modify the initialization of variable change_dir;
change_dir is initialized as NULL
change_dir initialized as NULL, and call chdir when change_dir is not NULL
Merge pull request #637 from kangkangli/makeflow_chdir_new

Fix Bug in Makeflow Chdir
correct return protocol for job_wait/job_status