Update SharedObject.hx

StringTools replace does not change the value of name, at least on the Flash target.