Almost everything below here is testing code.  It was HARD to test this stuff, because we don't want to test in the *actual* CONTENT_ROOT, nor in the *actual* cache root.  You'll see below my (not necessarily pretty, but functional) work-around for dealing with that.  But the bottom line is, we have setUp classes for testing video and cache changes that will not disturb the existing setup--which is a good thing.