Workaround an issue in golang 1.10.3 where a 4GB file is truncated.
Workaround an issue in golang 1.10.3 where a 4GB file is truncated.

https://github.com/golang/go/issues/26923

google/gapid,Qining/gapid,pmuetschard/gapid,google/gapid,Qining/gapid,pmuetschard/gapid,google/agi,google/gapid,Qining/gapid,google/agi,google/agi,pmuetschard/gapid,google/gapid,google/agi,google/gapid,pmuetschard/gapid,pmuetschard/gapid,google/gapid,google/agi,Qining/gapid,Qining/gapid,pmuetschard/gapid,Qining/gapid,Qining/gapid,google/agi,pmuetschard/gapid,google/agi,google/gapid,google/gapid,Qining/gapid,google/agi,pmuetschard/gapid