- Moved read_sum_head() to io.c (because the generator uses it too).