fix canonicalizePath problem for after-rts shims