tmpfile.deleteOnExit();
OutputStream ostrm = new BufferedOutputStream(new FileOutputStream(tmpfile));
final StarTable starTable = navigator.getStarTable();
name = starTable.getName();
try {
new VOTableWriter(DataFormat.TABLEDATA, true).writeStarTable(starTable, ostrm);
}
catch (IOException e) {
//noinspection ResultOfMethodCallIgnored
tmpfile.delete();
throw e;