Updated bindings_file.cc to test for string-ness.

  Test all string-arguments to make sure they're strings prior
 to using them.  Updates #182.
 Updated bindings_folders.cc to test for string-ness.

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