bugfix for non readable folders in StructureMap::generate