[pergola] _set_fields_b retunrs ValueError when either fields provided
or header of file not present