Check for duplicate lumisections before proceeding to write lumiSummary.json.