rename tmp directory