Correct an error in WriteVrmlFile.