use :chdir open3 option instead of CC's cwd

This will prevent the CC process from having a funky working
directory, as we're cding to temporary dirs, and will be safer with
concurrent requests.