update: Updated CreateNote function

* CreateNote function now return the path of the file it had created.

Signed-off-by: mr.Shu <mr@shu.io>