Explicitly check the validity of the objects before asking for their elements in diff_root_files.py
This MR fixes a possible run-time error by explicitly checking neither d_old
nor d_new
is none
before trying to access their elements. In principle this shouldn't really happen as it means there is an error when dumping the contents of the trees but in practice it's not guaranteed (and sometimes happens).
-s