Fix for temp file names and harmonize with CLOUD_REMOVE.pro.