Escape invalid characters in the docstring for String.chunk

This cost me at least a couple of hours trying to feed the extracted docstrings to another tool :rage: