Avoid a (very unlikely) race when opening a temporary file
Avoid a (very unlikely) race when opening a temporary file

The file could be created between the time the -e test fails and open
"+>" is called, which would clobber the file. Using O_CREAT|O_EXCL to
open the file prevents the problem.

marcusramberg/mojo,andrewsolomon/mojo,melezhik/mojo,zoffixznet/mojo,jenalgit/mojo,s1037989/mojo,Grinnz/mojo,vlet/mojo,vlet/mojo,jamadam/mojo,kiwiroy/mojo,dolmen/p5-Mojolicious,kberov/mojo,kak-tus/mojo,s1037989/mojo,scottw/mojo,dotandimet/mojo,andrewsolomon/mojo,polettix/mojo,CandyAngel/mojo,kraih/mojo,melezhik/mojo,chenri/mojo,zoffixznet/mojo,augensalat/mojo,jenalgit/mojo,lindleyw/mojo