Implement autoprune.

This mode introduces a configuration parameter to keep block files at less than a fixed amount of MiB.