Win32: Make getFileInfo() fail and label the path non-directory when ...

...GetFileAttributesExA fails

This fixes the problem on Windows that the Language selection list might sometimes be blank. (The cause was that attrs would only contain random garbage data when GetFileAttributesExA failed with a non-existing path.)