Do no remove .* files when clearing the cache

Thanks @nexik for the idea.