add API to create [tar.xz] archives