This patch fixes the race during the creation of the temporary file.
It builds upon and thus includes the fix of
ID:3512497, "Stale tmp files laying around".
Thanks for faac(1)/faad(1), by the way.
Steffen (Daode) Nurpmeso
git(1)-MBOX with fix of ID:3512497 plus additional race fix