[pkg] add generic ZipFile Reader/Writer (#72237)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/72237
Test Plan: Imported from OSS
Reviewed By: d4l3k, mrshenli
Differential Revision: D33970688
Pulled By: PaliC
fbshipit-source-id: 8a524867e62acb427170cc56a5d6960436a7455f
(cherry picked from commit f8d924fc4ef2a5c43f8410fb359aa0f0ecb29382)