build tarball inside directory