etcd: use tmpDir as testing directory