csv/format: exception message made clearer