Ignore .gitignore and .gitkeep in cache folder, closes #1346