https://bugs.winehq.org/show_bug.cgi?id=54560
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- If CreateDirectoryW fails with ERROR_DIRECTORY_EXISTS, we should probably increment the id and retry.
I'm not sure why AllocateLocallyUniqueId is used at all, it doesn't seem to be designed for this.