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

Fix bug #4003 [http://www.code.opencv.org/issues/4003]
Done.