avoid potential RString -> C-string conversions