Fix empty directories.