When a file is attached to a mail buffer in mail-mode with
vm-mime-attach-file the file isn't actually attached, instead
something is attached that is expanded on send to the
mime encoded version. This expansion is done by
vm-mime-encode-composition. It'd be really nice if
mailcrypt could call this before messages are signed or
encrypted so that they can properly be sent without the
user needing to manually do this.