Check for directories in zipping.