fixes #6289: avoids concurrent downloads of files with the same name and destination dir.

nothing like a bit of security(?)-by-obscurity...