forgot newline when writing out measurement ids to file