change_name(a_name)
Make a new PathInfo changing the item name.
script object : A new instance of PathInfo