Fix duplicate files in uploader