docs: public long getSize()
          throws IOException
      {
          try
          {
              Metadata metadata = store.getMetadata( path );
              MetadataXpp3Writer writer = new MetadataXpp3Writer();
              StringWriter stringWriter = new StringWriter();
              writer.write( stringWriter, metadata );
              return stringWriter.toString().getBytes().length;
          }
          catch ( MetadataNotFoundException e )
          {
              IOException ioe = new IOException( "File not found" );
              ioe.initCause( e );
              throw ioe;
          }
      }