Rename temp file name generation