remove empty directories.