fix Flysystem snippet