[pkg] add zipfile unit tests (#74929)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74929
Add unit tests for zipfile classes
Test Plan: Imported from OSS
Reviewed By: d4l3k
Differential Revision: D35423078
Pulled By: PaliC
fbshipit-source-id: 13cd0f82ec7d9fc95b6db86b65b9958e389086e3
(cherry picked from commit 69a6ed669e2dcca77ee26e84476a24f0273a6c89)