[libclang/python] Use a Python standard library module to create a temporary file.

Patch by Brian Gesiak!