win_path: fix pylint errors to fix Travis
Merge pull request #6261 from cvrebert/patch-3

win_path: fix pylint errors to fix Travis