Added Document.save(OutputStream,encoding)