unarr: fix directory detection in zip_parse_local_entry