Actually the price of the dagger should be a bit higher than that:
From SRD:Iron, Cold: This iron, mined deep underground, known for its effectiveness against fey creatures, is forged at a lower temperature to preserve its delicate properties. Weapons made of cold iron cost twice as much to make as their normal counterparts. Also, any magical enhancements cost an additional 2,000 gp.
So masterwork dagger price x 2 + enhancementbonus + 2000 gp
302 gp x 2 + 8000 gp + 2000 gp = 10302 gp
I suggest we also sell:
1 set of thief tool: 30 gp
and keep the rest in the boat giving us 0.75 x 10332 = 7749 gp from the harpers.
(this all depends if the prices we use are those of the DMG/PH)