use pathSeparator instead of colons in file

This tries to fix Issue #527. Basically it replaces any Colons in module-names with File.pathSeparatorChar when constructing/reading moduleDirs.