Change file name encoding using Python

GitHub Gist for fix_cp1251_filenames.py.