Make the permissions work for zips too.