BugFix: file separator should always be path.sep.

use "path.sep" instead of "/" so that it would work
Windows as well.