Python Csv Write Array To Text