*: support purging old wal/snap files

Fix #1764
`max-snapshots`?

seems like it's not that important that they are files or that they are old