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

 * Now checking size of buffer read in order to validate chunks transferred
Merge pull request #4 from dharmsheta/master

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