It may be old, but it looks like they have changed the way they want you to get closer to it.
You should try to make a file, and then back off if the file already exists. Here is the documentation on it. I am updating this because it was the first result in my Google search for this problem.
So, in my case, I want to open the file or create it if it does not exist. I create a file and open it if it already exists. For example:
save = await dir.CreateFileAsync(myFile, CreationCollisionOption.OpenIfExists);
Billdr Aug 24 2018-12-21T00: 00Z
source share