Fix acceptDuplicates=no of DirectoryStorageService

Configuration acceptDuplicates=no of DirectoryStorageService creates
.partial duplicates. If the destination file of renameTo() exists, the
behaviour is undefined (On Windows renameTo() fails).