Add String.chunk/2

As discussed in #1832.