Add read-only mode to ZFile.
am: e35235f71f

Change-Id: I9c4797cc2f740e971d4cb1aafc3d755338696d85