fix Issue 1832 - rebuilding ZipArchive looses data

- Already need to set compressedData slice when reading
  the directory index not only during expand.
Merge pull request #1870 from MartinNowak/fix1832

fix Issue 1832 - rebuilding ZipArchive looses data