Support xz packages

Fixes #3