Canonicalize target path