Updated bindings_maildir.cc to test for string-ness.

  This updates #182.