util: refactor createZip to not need async wrapper and prevent potential loss of data with fs streams.