Modify tmp name for cache