Support python 2.6 for csv file writing

Signed-off-by: Peter Portante <peter.portante@redhat.com>