Replaces remaining references to line breaks with require('os').EOL.