Fix windows path translation problem

When using path.join under windows the system will use backslashes which won't work with zookeeper paths.