Removing files belonging to a directory on its rename or remove