fixed #54
ObjectJavaIoWriter now optionally takes a IoWriterFactory as constructor
argument.