core: handle native windows paths like 'c:\foo.box'

[GH-2081]