Changing temp filename to be random uuid instead of time based

It shouldn't really matter which of these we use, both should work. I just
know its definitely not possible to get two of the same uuid close together
when using random-based (eg. `uuid.v4`).