Making Cache::flush() on a Filesystem store not remove dot files. Fixes #526.

Signed-off-by: Ben Corlett <bencorlett@me.com>