Use project.root as process.cwd(), so files aren't generated in wrong places
Merge pull request #2499 from marcioj/mj-issue-2364

Use project.root as process.cwd(), so files aren't generated in wrong pl...