[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: dagitses, d4l3k
Differential Revision: D35254715
Pulled By: PaliC
fbshipit-source-id: bda862cc6df823249f577e37a2718247e9d0a431
(cherry picked from commit 2910d924cdcddffafe9ba05c0b880fbfcb6246c5)