Enforces end-of-line to be LF on Windows

fixes #1392 
relates to #235
Does it need the leading tab?

Can you add a new line at the end?