restore code under rubyzip-0.9.9 in order to support ruby 1.8.7.