Fix ArchiveReader to keep archive path (#67035)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67035
Incorporate the same change from https://github.com/pytorch/data/pull/73
Test Plan: Imported from OSS
Reviewed By: NivekT
Differential Revision: D31837963
Pulled By: ejguan
fbshipit-source-id: 3b0171ba30f392c8773c497702bc60aa4fbe28c6