[Concept] [PATCH 08/11] buildman: Extract _write_toolchain_result() from _write_result()