Use LZMA API instead of subprocesses