fix the bug of strRepr. Now single quote is escaped correctly

Unfortunately this change breaks it for me!  I think I'm on an old version of glibc, and apparently they changed the type for the "gregs" array.