Write sample info and covariate files
Write probe info to file
Fix labelling of IDs in covariate info