only filter out \r on Windows