Update the modified time when a file has changed so we don't keep telling listeners that the file has changed when it hasn't