Export CSV via csv module instead of QgsVectorFileWriter.writeAsVectorFormat
Export only fields wich are not Hidden (fields tab of vector layer properties)