Merge pull request #17541 from moosichu/fix/wine-get-final-path-name-by-handle