Strip \r from multiline strings