Make WorkerTmp accept a configurable tmp dir