Prepares the header in CSV format

def format_hdr(self, delim=',', qu='"'):
        """
        Prepares the header in CSV format
        """
        res = ''
        if self.header:
            for d in self.header:
                res += qu + str(d) + qu + delim
        return res + '\n'