* win_copy: fix for copying encrypted file without pass * fix pep8 issue * reduced the diff and fixed some minor issues (cherry picked from commit bba941cd5b)
bba941cd5b