Changed interface of following functions to handle vfs_path_t object as parameter: