Remove Re_str usage

It's not threadsafe

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>