Add lzma encoding support via the 'xz' plugin

I'm thinking whether this should be an error. It's certainly something we would want to know in production.