Clean up the handling of large binary diffs
minor cleanups
Merge pull request #2391 from libgit2/rb/clean-up-diff-binary-print

Minor fixes to binary diff code