File modification registry performance fix

performance fixes so we dont need to look on disk when all file versions for files in a directory are updated.