Write program output to checkstatus file