Fix line endings

Add .gitatrributes file and correct line endings.