Merge "adb: report error in copy_to_file."