Fixed opening zips which have the files before its dirs.