Fixed neverending loop when attempting to create unique dir name for a prefix.
Updated Wine sanity checks to check for files that Wine no longer creates.