Fix fold for Busybox tests (other than unicode)

The Unicode test throws an assertion, so I assume I'm just indexing into the middle of a character somewhere.  Everything else seems to work, though.
This could be `line.ends_with("\n")`, which should avoid/reduce unicode problems.