Separate reading old and new files from bsdiff().

This is needed so that others like applypatch can use bsdiff in memory.

Bug: 26982501
Test: mma

Change-Id: Ida0e11e35f088604498d1cc919fb5ca19f36fd62
3 files changed