convert backslash to forward slash in parentPath