Fix tmp path for deploy.