fixed corrupt docx when writing images by changing the way images are written to the output buffer
fixes
Merge branch 'imagetest' of github.com:tdenovan/odf-report into imagetest