replay: Use swh.model.from_disk.Directory.collect
Instead of maintaining a set of modified paths for each replayed revision, use the swh.model.from_disk.Directory.collect method which performs the same task by returning added or modified contents and directories since the last collect operation.
Migrated from D8693 (view on Phabricator)