import tempfile into policies

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #159 from battlemidget/patch-include-tempfile-module

import tempfile into policies