[bug] String::toAscii should be 'const'

This function does not have any effect on the string's internal state, and should be made 'const' to reflect this.