Oops. That last commit didn't actually delete files on disk, thanks to my escaping. Really should have been doing it this way all along. So much cleaner.