Fix broken text/* attachments when forwarding/editing a message (#1489426)