ChatGPT - Overwrite files in Python