A 5 volt detector on the output, opto-coupled to a triac might work to avoid exploding the capacitors, or just use up the extra voltage with extra rectifiers in series with each other.Your best bet would be to use a low voltage high current transformer and an automatic disconnect that shuts off the charging power when it reaches the voltage you want.