Revert "Fix segfault from CStdString conversions"

This reverts commit d0e8550be6a5d437a4767ef75c2db45d5a19d143.
Fix segfault