Fix path related failures in bake tasks.

I broke a pile of tests on windows. This fixes those.