Support in-process lzma decompression

If backports.lzma is available, use it to decompress input files rather
than popen of the lzma executable. Tests on my laptop with emptymr.py run about 10% faster.