Ansi-term function to C-x C-f cwd