Several test cases have been corrected to avoid creation of temporary files s.stl, comp_nonmanifold.step, bug31301_1.stp at unexpected location.
Modify method XSControl_TransferWriter::TransferWriteShape: add removal of locations before writing the shape.