Re-add .xz and .lzma support.

  As also CentOS 7 metadata files are now compressed with XZ,
  re-add previosly removed support for XZ and LZMA. This reverts
  part of commit 73516829b2d83c4e48f1efb91bea0ded7cafc175.