Use the correct path when building the FileInfo for the search result