Fix path related failures in bake tasks.
Merge pull request #3363 from cakephp/windows-test-fixes

Fix path related failures in bake tasks.