make swp/undo dirs