new functions writeEntryToDirectory and extractFilesToDirectory

This is the pull request related to our discussion in bug #10: https://github.com/jgm/zip-archive/issues/10