Fix encoding problems with ZipFile.

Without setting the DefaultCodePage it may cause problems on systems without 866 code page installed.
Merge pull request #5334 from ForNeVeR/encoding-patch

Closes #5261