Converts content (a unified diff) to LF line endings.
content
String convertPatchToLf(String content) => content.replaceAll('\r\n', '\n');