fix file offset calculation
do we really need fake lzma header