Mod: Open header files with encoding if Python version is greater than 2...

Fix bug #4003 [http://www.code.opencv.org/issues/4003]
Yes, `io.open` is a good solution.
I just try not to import more modules.