Fixed removal of directories and links in -remove-runs and added backwards compatibility for -itempatt.