Merge pull request #1837 from libgit2/ntk/topic/control_stream_write_size odb: Error when streaming in less|more bytes than declared