Writing to flat tar.xz archive has errors, implemented little debugging code.