I've done this a few times and I have to say the easiest, best way of removing and replacing cotters is with a cotter press. It is a far better way of doing it vs. the "hammer mechanic" brain set that I normally do things with. Bikesmith Designs and Fabrications
http://www.bikesmithdesign.com/ has a ultra quality cotter press. Bikesmith also has cotter pins.