Replace backslashes in file paths for module names

Fixes #6