Fix a sloppy leak I created

On purge success, we leave the dir handle open.