Merge "adb: report error in copy_to_file." am: c71a1e7ab0

Change-Id: I9df74be0db95a7b589eae18ed9b1a8077e8215fa