Remove carriage returns and don't actually reinvent the erase-remove idiom