Flexget/Flexget — pull request #5 by davidblewett (2012-03-03 03:20:28+00:00)
Title: Transition to mkdtemp

This should fix the issues encountered with the temp file created with unexpected permissions. We create a random temp dir, write out the file to disk, move it into position then nuke the created temp dir.