Handle windows newlines on non windows machines.

`value.split(/^/m)` splits the `some\r\ntext` into 3 different elements:

```
['some\r', '\n', 'text']
```

Not good for diffing!