make module names compatible with Windows file paths

Windows path delimiters use "\", not "/"!

Changed the code to strip off the first character after the absolute
context path (should cover both Unix and Windows flavors).