lzma: aligned old header decoding with encoding package interfaces