Raytracing: Using names instead of labels in exported files - fixes #1663