Actually set the undo/backup/swap directories

Also, automatically create the dirs if they don't exist, so the
installation instructions can get shorter.