minor: fix spelling errors in write_result.h