change_folder(a_folder)
Make a new PathInfo changing the folder.
The path form for a parameter must keep consistency with a path passed to the constructor method. If the target was constucted by make_with_posix. The path form must be POSIX. If the target was constructed by make_with_hfs, the path form must be HFS.
script object : A new instance of PathInfo