Add .directory files to .gitignore

.directory files are used on Linux to store per-directory view settings, such as whether to show previews or hidden files and what order to sort the view.  They don't belong on git.