use "path.sep" instead of "/".
Merge pull request #40 from tshm/fileSeparatorBugFix

BugFix: file separator should always be path.sep.