Changed temp files to use uuids

@bsiddiqui @pon