s4:pyrpc: add pyrpc_PyStr_AsString() helper function