[glance] add a random string in the tmp filename