CP-8866:Develop for Resource Statistic Feature on XenCenter

Based on the requirements draft and discussed solution, develop the prototype for Resource Statistic Feature part on XenCenter, that is, provide the export to Excel and CSV functionality with required data sets,by accessing the XenCenter cache.
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
We don't think this delete is necessary. Later, you open the file in mode FileMode.Create, which overwrites the file if it already exists.