Use `go-csv/dialect` for parameter parsing
chore(format): simplify a function signature

No logic modified.