Backup: first read into buffer, then write buffer to disk

BUG=chromium-os:21568
TEST=builds clean;
  Check that backed up firmware images are correct

Change-Id: I9bc78ec086f68a2a1bc8b296cd45b08895baa578
1 file changed