It would be better to use a fake file system here or more granular directory to remove, else you'll remove all your history files when you run this.  (I've done it before :).  I've been wanting to make the output directories a bit more sane, but this is what we have at the moment.