Remember the cwd of the shell per-file