Fix Windows build

`import` needs to take a name and not a Windows file path with backslashes in it.

Fixes #653