updated for rubyzip 1.0.0