resolve the path problem on win32 because of path.resolve is not resolve...

... the path sep, it's for resolve the root path for file or DIR . use the path.join instead. It's my fault. Sorry