Update tool.js

A path may contain more than a single backslash, updated findPath to replace all backslashes, not just the first instance