doc_set_path
doc_set_path (doc, path[, flags])
This function changes the path name associated with the document given by doc to path. The new path name will be used to save the document. If path is a null string, the document will no longer have an associated path name. In this case, save_as must be used to save the document. If the second bit of the optional flags parameter is set, then the document will continue to use the same cache directory.