Dears please note that I got this error when trying to rename file that is decompressed using DEFLATE64 algorithm
System.ArgumentOutOfRangeException:
Argument is out of range of valid values. Parameter name: count Actual value was -1.
at shcnf.dilhs.Write(Byte[] buffer, Int32 offset, Int32 count)