clean carriage returns from std out string (displayed by windows stdout)