Add callback to disk.writeFilesystem