Update main.py

Spelling error corrected (Failed ranaming = Failed renaming).