tmp dir is set dinamically if loaded by turbogears or celery