Removes char 10 and 13 from end of string