cork_path_set

This patch adds a function that lets you update the content of a path
object.  (Paths have always been mutable, so that was a pretty glaring
omission...)