I wouldn't recommend using `String.duplicate` here, as it forces a copy of the binary to be created each time. Since we're creating an iolist at the end, I recommend just creating a list os `s`'s `i` long.