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!
Merge pull request #24 from benogle/handle-windows-newlines

Handle windows newlines on non windows machines.