Implement String::toAscii() function

A function to convert a String to Ascii by writing it to a buffer can be helpful for debugging, and should be added.