Add .gitignore files to empty directories.