Test that the the file does not exist already.

In case we call link() on a file system where link() fails (and not
with EEXIST), we use would use an already existing file with the same
name.  This commit makes sure we try a new file name in that case.
6 jobs for master in 60 minutes and 3 seconds (queued for 6 seconds)
latest