Merge "adb: do not mix printf() with write() when writing to stdout."