Handle non-multipart attachments

Requires libwspcodec >= 2.2