Enforces end-of-line to be LF on Windows

fixes #1392 
relates to #235