Bugfix: guessing the module name from a file path now properly uses the canonical path