Port rubyzip code to new API namespace