[lib/process] chdir