make decompressor recover from wrong compressions & fix bug in line reader
improve recovery of incorrect compressed files
refactor patch execution