Remove Re_str usage

It's not threadsafe

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #71 from jonludlam/re_str_removal

Remove Re_str usage