Use CRLF for all text files written on Windows, accept either CRLF or LF on all platforms
In legacy/trac#17501 (moved), stem becomes confused because some text files written on Windows use CRLF, and others use LF.
We could use CRLF for all text files written on Windows, and accept either CRLF or LF on all platforms.
Here is a list of files from DataDirectory with their line endings on Windows:
CRLF cached-certs CRLF cached-consensus LF cached-descriptors LF cached-descriptors.new CRLF cached-microdesc-consensus LF cached-microdescs LF cached-microdescs.new CRLF state
We might want to review all files written by tor, including those only written by hidden services and any other components.