feed correctly formatted paths to pandoc on windows