[client] Fix a bug in multi-part upload for large file sets.
Update client version to 3.1.7.