Fixes undodir bug #vim