Updated registernode.dart to new path style
Updated registernode.dart to new path style

Path's is now strings which is manipulated by using global methods from
the new path lib.

distributed-dart/distributed_dart,distributed-dart/distributed_dart