Normalize line endings and encoding

We had mixed line endings and encoding in the repo.
All files now use unix-style EOL and utf-8 as encoding.