added vfs_path_build_filename() function