Add lzma encoding support via the 'xz' plugin

Level 8 requires 32MB to decode. Not sure what level 9 requires, but it's more than that, and I think 32MB per stream is plenty already.