Set exec-path and path separator correctly on Windows

Using ``format`` instead of ``f-join``