If two SAMReadGroupRecords share the same sample name, the output will contain duplicate column headers. This PR fix the problem.