Added array keys as first line of CSV