Fix usage of deprecated MimeUtil functions

Signed-off-by: Eddie Ringle <eddie@eringle.net>
Merge pull request #654 from eddieringle/er/fix-mime-deprecation-warnings

Fix usage of deprecated MimeUtil functions