Normalize path to forward slashes in inline-modules

Fixes #657