DOC: Fix encoding of docstring validation for Windows
In Windows, the `validate_docstrings.py` script fails because an encoding error. It has been fixed here.

PR done in the London python sprints meetup.

CC: @datapythonista 