csv writer

minor csv reader changes;