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

GitHub: Fixes #471.
Merge pull request #473 from klickverbot/assemble-temp-file

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