Backport patch to fix creation of .tar archives when ZTD support is enabled.
As the patch says, when ZSTD support is present creating a regular .tar archive
will end up creating a zstd file instead. In my tests, this prevented
adding/remove entries from the archive at all.
MFH: 2019Q1