Support for windows line endings. closes #2