Thanks for asking this question, by the way, because I just learned something! I've always just used paths in gimp (the method Hai-Etlik gave) and then imported them into photoshop after the fact if I needed them there.