Support for UNIX, OS X, Windows and old Mac line endings