Bug 1017312 - Flash cache.img if it exists.

Also allow flashing cache.img by itself (if someone wanted to do that
for some reason), and update a slightly confusing comment near this
code.