Fixed an extraction bug when empty directories exist within the archive