gen-upload.sh: stop with error when there are duplicates

10 jobs for SE-fix-generating-gen-upload-fileinfo in 175 minutes and 17 seconds (queued for 1 second)