Issue 1832 - reading/writing an archive causes data loss; std.zip horribly broken

See also:
https://d.puremagic.com/issues/show_bug.cgi?id=1832