Use the more platform-independent version of cwd in shell task