[monodoc] Rework version number inclusion in .tree files to be backward compatible with previous Mono version.