touch up formatting, make writing function async and add strip argument to tarball call