setting local path to cwd when process.cwd() returns a windows-style path