some modifications for the new rubyzip