Set cwd.