[CNSC-157361]Fixed issue for large file uploads not matching original si...

 * Now checking size of buffer read in order to validate chunks transferred