https://bugs.winehq.org/show_bug.cgi?id=53715
--- Comment #9 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Béla Gyebrószki from comment #8)
... Unfortunately that doesn't fix the problem when 'Show dot files' is unchecked.
I can take a look this weekend, but I would suspect that something odd is going on with the path that's passed to is_hidden_file(). If you are motivated to look at it now then you might try printing out the path if the return value "(p < end && *p == '.')" is true and see if there's something messed up about it.