backport from master: Clear the file-modification cache instantly when the user has saved the file in the editor.
CCBUG: 260239