Add .gitignore to empty directories.