Correct structure in covariate output files