Implementation in RPython for the core of the 'csv' module