prevent mistaking folder entries in zip as file