Fix issue in the method that writes an OBJ file