refs.c::do_for_each_ref(): Finish error message lines with "\n"