some windowsfixes, but still 3 failures, 7 errors (mostly CRLF newlines messing up comparisons, and some unclosed files preventing cleanup removals