Fix to endloop tag in STL writer.