*: support purging old wal/snap files

Fix #1764
for purging different files. and this utility does its own thing in its own routines independently. i do not want to make etcdserver to control this.