CA-102285: Use the stream API to read the XML RRD file.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>