[LOGTOOL-77] Use the writer from the JavaFileObject as it doesn't write one byte at a time

Found the implementation of ```javax.tools.JavaFileObject#openOutputStream``` returns ```com.sun.tools.javac.processing.JavacFiler$FilerOutputStream``` which extends ```FilterOutputStream```. This writes a single byte at a time resulting in poor performance.