Output features as csv