Normalize line endings and encoding

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