Update SharedObject.hx

StringTools replace does not change the value of name, at least on the Flash target.

Also, I believe that the "openfl" namespace is converted to "flash" for the flash target at compilation, so any references to "openfl" in serialized data will not resolve. I did not fix this yet because I am still testing and would like confirmation of that.