Replace writeUTF() with writeUTFBytes() to remove un-usable string length