fixed so sampleQC.samples is written even when .sexcheck file has zero size