DragonFly's system gzip rejects the input due to bad magic number, but bsdtar can understand it with the help of zlib. So just use bsdtar as gtar on DragonFly for now.