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

Change-Id: Id644ac79b66d7cd32bc2e321282dd518e435ad16