Bugfix: renaming file "foo" should not affect file "foobar/baz" even though "foo" is a prefix of "foobar".