Use NamedTemporaryFile instead of file and of deprecated mktemp. That way we ensure 2 files created at the exact same time will have a unique name
Fix incompatibility with Windows using tempfile.
Merge pull request #55 from yvaucher/7.0-fix-1319095

report_webkit: use safer and non-deprecated methods to handle temporary files
pg listen all
Subtree merged in odoo/7.0
Subtree merged in runtime/win32