FilesDownloader: Downloaded file is corrupted if there is a duplicate entry

If the same file path is added twice to the same FilesDownloader instance, the first one will begin to download and add data to the .tmp file, then the second will begin to download with the same .tmp filename, and corrupt the first one. This was fixed by stripping out duplicates, which are obviously not needed.