parameterize over fieldDelimiter, also nuke C scanner impl, since it is all wrong