MDL-41660 backup ims-cc: Use correct temp directory