FIXFOR: Remove vfs_path_to_str() function for avoid often memory allocations.