read document with correct encoding to allow special character
replacement

See issue #8:
document.xml content was always read as ASCII-8BIT into memory. This did not allow
replacement of UTF8 characters.