Just curious; what's your goal here? Do you want to export the photo for use in another app, or online? Then just use the export command and change the name there. That's the best way to do it anyway.
If you just want to change the title in iPhoto, then simply changing it in iPhoto should serve your needs fine.