private void saveSymbols() throws EXistException {
try {
final VariableByteOutputStream os = new VariableByteOutputStream(256);
writeAll(os);
final FileOutputStream fos = new FileOutputStream(getFile().getAbsolutePath(), false);
fos.write(os.toByteArray());
fos.close();
} catch(final FileNotFoundException e) {
throw new EXistException("File not found: " + this.getFile().getAbsolutePath());
} catch(final IOException e) {
throw new EXistException("IO error occurred while creating "