Strip \r from output messages, if applicable

On Windows, the error panel will display (CR) symbols at each newline,
so remove them if they're present.
Merge pull request #172 from albertfong/fix-cr-symbols

Strip \r from output messages, if applicable