vfs_generate_path() fixed