tmp and undodir -> .tmp .undodir