Added new apis to add additional paths to ChildReaper and a test.

Added new apis to add additional paths to ChildReaper and a test. This change is backward compatible
How does deprecation break existing code?