Make docgen actually save files