fixed the windows newline checks. Now leaves windows windows, makes unix unix
plays nice with empty files now