Was going to say, its usually good at saving whatever point it dies (I believe a GPX file just has continuous co-ordinates, so it doesn't need any particular info to say 'finish here'.
Unfortunately phone GPS can be a bit crap, yeah. What phone are you using ?
iPhone 4S