Improve MimeType handling for SendObject with a file. Also allow the SendObject with a file to accept raw data from memory in case someone wants to send a file they already have open and are mainpulating.