Related with writeZipArchive function

Enhance writeZipArchive function
- adding error-handling routines
- enhancing file-reading routines