That would still leave Wine's hidden file handling inconsistent between different functions that use `fd_get_file_info` vs `get_file_info` vs `get_dir_data_entry` though. I can open another MR that will make those correct in the cases where we already retrieve the file name. But to make everything 100% consistent we either need to just remove the dotfile handling, or always have the file name available.
Yes it's inconsistent, but that doesn't seem to matter in practice. It's mostly only used when browsing Unix dirs, and then if the files are hidden, the user is not going to access them, and nothing will query the info from an open handle.