You might be right. But... 'wb' is used all over the place (for instance also writing setup.py back, version.txt, changelog, etc).

I'm fine with changing it, but I wonder why I kept it at 'wb' then. I'm also wondering why I don't use 'wu', isn't that universal newline stuff?