file: guard against recursive links when emitting change signals
Currently, when propagating file changes, the code recursively notifies the files that link to the original file. This quickly falls apart with recursive links, as a stack overflow occurs.
Fixes #289 (closed)