t / t5100 / rfc2047-info-0003on commit write_entry(): separate two helper functions out (fd5db55)
   1Author: Patrik Fältström
   2Email: paf@nada.kth.se
   3Subject: RFC-HDR care and feeding
   4