mkstemp and tmpfile open files, this code needs a filename to pass to the linker.