Fix empty directories