chdir back to cwd in callback