Port greenworks.Utils.createArchive and greenworks.Utils.extractArchive
API, fixes #9.