Fixing IDEA-115649 Compiler cannot resolve references to classes generated by annotation processors
1. save generated files synchronously
2. do not use cache when listing files from output directories
optimization: for OptimizedFilemanager classes always use directory cache and clear affected cache entries on new files generation