Use `file-directory-p` to test for existence of a directory.
Move (some) auto generated files to `~/.emacs.d/managed`.