store the temp path in NSUserDefaults so that we can pick up where we left off if app crashes