LPS-49308 - IO Delta Util may throw "Unexpected EOF" exception when patching a file