PDF:  Use / as path separators in tempdir on Windows.

This is needed for texlive.
Note that the / is used only in the body of withTempDir,
so when the directory is deleted, the original separators will
be used.

See #1151.