Fix broken parser for git diffs with binaries
Review Request #11100 — Created July 28, 2020 and submitted — Latest diff uploaded
The parser for git diffs (git and hg) did a mistake if there are base64
binary data. It prepended the data to a following file info instead of
appending the previous one.Cherry-pick of 4e507d418c3420cf49667340f44f82347e845313
Replaced io.BytesIO by StringIO()