a utility for pretending to work with cwds, lifted out of mdm testing infra.  still requires you to spam "getCanonicalFile", but still more handy than nothing.
clarifying comment on expected behavior