string was stored beyond the life of the call. Changed the signature to be const char * to help make this point. Closes issue #1419652.