Setting cwd on the fork process