Fix inotify event name corresponding to file modification.