[glance] add a random string in the tmp filename

Just add a random string in the filename to be able to run the check simultaneously.