Merge pull request #486 from pmcgvr/release

Fix stripping of slashes from paths
diff --git a/tiny_gltf.h b/tiny_gltf.h
index e2ca5bd..e5c0d2c 100644
--- a/tiny_gltf.h
+++ b/tiny_gltf.h
@@ -2245,7 +2245,7 @@
 
 static std::string GetBaseDir(const std::string &filepath) {
   if (filepath.find_last_of("/\\") != std::string::npos)
-    return filepath.substr(0, filepath.find_last_of("/\\"));
+    return filepath.substr(0, filepath.find_last_of("/\\") + 1);
   return "";
 }