Optimize ActorPath.toString and incorparate feedback, see #3072