Casting paths toString(), just to be safe.