Updated to compute the hashes in the output writer instead of the email
reader since it seems like none of the attachments have their MD5
checksum.