Fixed permissions for .gitkeep in cache and logs