Add tempfile support to munki_do and cleanup when done