Pylint fixes for win_file.py
Pylint fix for file.py