strange behaviour on OSX: writes do not always result in on_modified (e.g. in vim)