pylint: test fixes for windows