Update SharedObject.hx

StringTools replace does not change the value of name, at least on the Flash target.
Merge pull request #265 from neurofuzzy/patch-1

Update SharedObject.hx