fix for dnssec-tools install, fixes #7452

fixes #7452

problem with using subprocess.PIPE for for large data described here:
http://thraxil.org/users/anders/posts/2008/03/13/Subprocess-Hanging-PIPE-is-your-enemy/

subprocess can hang if PIPE is used, change uses temporary files instead