Fix bug transferring files larger than 4GB on 32bit builds. #4150