Updated bindings_index.cc to test for string-ness.

  Test all string-arguments to make sure they're strings prior
 to using them.  Updates #182.