Wrapper arounf rrdtool to export data to CSV file format