Set up backup, swap and undo dirs