Fixed major problem - XZ expects to be given a large quantity of file
all at once, and doesn't consume bits of it.  Once we take the entire
file, read it all into a buffer and keep on compressing it, it works.

To do: if the next read will put us over the buffer size, only then
call lzma_code and restart the buffer.  Proper loop handling.