Fix bug transferring files larger than 4GB on 32bit builds. #4150
Merge branch 'V8_0-branch'