Does esp8266 save old sketches?

Bottom line is still NO. If the board is still running the old code then you were simply unsuccessful in overwriting it with the new code. End of story.