Mmm, good point. This is an interesting problem, because you could have name clashes and could be a security issue, specially for a file that you'll execute immediately after! It sounds crazy but for build servers, or maybe the dpaste or other similar uses when you might call multiple compiler concurrently. But you don't have many other options, you could open the file and leave it open there is no easy and portable way (that I know of) to get the name of a `FILE*` or a file descriptor. I guess the best way to do it would be to make the linker write the results to a pipe and read it from DMD and write the file ourselves, but I can't see any options to do this with ldd :S so I guess we will need to live with that (well, we could use a named pipe, but then again, how do we create the pipe name? :P).

Maybe add a comment? Because seeing a call to `tmpnam()` will always fire an alarm...