Merge "adb: report error in copy_to_file." am: c71a1e7ab0 am: 4b093c83ff am: 64f0064a0d

Change-Id: Id427bd20ffc61121313f5d7d47912b43682930f5