def _changeVersionInFile(old, new, filename):
    replaceInFile(filename, {old.base(): new.base()})
Checks that etag from server agrees with md5 computed before upload.
dataset/ETHPy150Open twisted/twisted/twisted/python/_release.py/_changeVersionInFile--crossover with--dataset/ETHPy150Open radlab/sparrow/deploy/third_party/boto-2.1.1/boto/gs/resumable_upload_handler.py/ResumableUploadHandler._check_final_md5