Fix a sloppy leak I created

On purge success, we leave the dir handle open.
Merge pull request #27 from sphia/fix-leaked-fd

Fix a sloppy leak I created