Improve schema for csv plugin. fix #2193