I know about this question. But you can’t write to filesystem in app engine (shutil or zipfile require creating files).
So basically I need to archive something like/base/nacl
using zip or tar, and write the output to the web browser asking the page (the output will never exceed 32 Mb).