server: fix absolute path conversion on windows