Better lzma functions