Fix email file attachment.