Build a multipart message that contains stdout and stderr as file attachments.