iio_readdev: Fix corrupt data that was being captured on Windows
iio_readdev: Fix corrupt data that was being captured on Windows

The captured data is sent to stdout but during this process (on Windows)
any byte that has the same value as line feed character (LF) gets
converted to CF-LF characters. This dissrupts the alignment of bytes
that represent the samples of the device.

Fixes #257.

Signed-off-by: Dan Nechita <0d348f54705b7a521d732c6906bfe1864d17d562@analog.com>

analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio