Takes a single RFC 2822-formatted message as a string and returns a string suitable for appending to a mboxrd flavored file