erase all \r on line endings