Update bindings_mime.cc to test for string-ness.

  This updates #182.