Avoid setting multipart stuff for non-multipart messages.