Fix the error below:
S3 ERROR IN PART 0 :
fp is at EOF. Use rewind option or seek() to data start.
(retrying)
Merge pull request #2 from StaymanHou/fix-EOF-issue

Fix the EOF error