Fix window path sep

Using path.rename to retrieve unzip directory name instead of using a regexp
Wasn't aware of `path.basename`. Smart and robust fix. Thanks! :-)