presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/util/SyncingFileSystem.java/LocalFileOutputStream/write
class LocalFileOutputStream:        @Override
        public void write(byte[] b, int off, int len)
                throws IOException
        {
            out.write(b, off, len);
            hash.update(b, off, len);
        }