Cytochromes c biogenesis in a photosynthetic bacterium requires a periplasmic thioredoxin-like protein.