how to overwrite a file in python?,"open('some_path', 'r+')"