Use PathV1 for creating temporary files on pre-3.4 LLVM.

GitHub: Fixes #471.