fn prune_old_media(dir: &Path)
Delete the PNGs and GIFs in dir that are older than the capture retention. Best effort.
dir