write results to exercise output directory