removeAllImages doesn't rebuild disk cache

Calling removeAllImages on HNKCache causes each format to delete its
disk cache directory permanently, leading to cache write errors
following the call.

The solution is for a format to rebuild its cache directory after
removing it.
Merge pull request #43 from blushmessenger/master

removeAllImages doesn't rebuild disk cache