import tempfile into policies

Looks like we just forgot to import tempfile for method 'get_tmp_dir'

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>