dump: Prepare file for parasite helper
dump: Prepare file for parasite helper

Just move common code of preparing a file for parasite.

Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>
Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>

svloyso/criu,rentzsch/criu,eabatalov/criu,eabatalov/criu,ldu4/criu,sdgdsffdsfff/criu,rentzsch/criu,LK4D4/criu,gonkulator/criu,LK4D4/criu,tych0/criu,sdgdsffdsfff/criu,efiop/criu,gablg1/criu,LK4D4/criu,gablg1/criu,LK4D4/criu,eabatalov/criu,fbocharov/criu,sdgdsffdsfff/criu,marcosnils/criu,LK4D4/criu,gonkulator/criu,gonkulator/criu,fbocharov/criu,AuthenticEshkinKot/criu,eabatalov/criu,wtf42/criu,kawamuray/criu,ldu4/criu,sdgdsffdsfff/criu,tych0/criu,AuthenticEshkinKot/criu,wtf42/criu,marcosnils/criu,svloyso/criu,svloyso/criu,marcosnils/criu,AuthenticEshkinKot/criu,gonkulator/criu,marcosnils/criu,marcosnils/criu,fbocharov/criu,fbocharov/criu,kawamuray/criu,eabatalov/criu,KKoukiou/criu-remote,rentzsch/criu,ldu4/criu,efiop/criu,wtf42/criu,svloyso/criu,biddyweb/criu,wtf42/criu,biddyweb/criu,LK4D4/criu,KKoukiou/criu-remote,wtf42/criu,efiop/criu,AuthenticEshkinKot/criu,rentzsch/criu,eabatalov/criu,tych0/criu,gonkulator/criu,tych0/criu,efiop/criu,tych0/criu,fbocharov/criu,KKoukiou/criu-remote,KKoukiou/criu-remote,KKoukiou/criu-remote,svloyso/criu,gablg1/criu,kawamuray/criu,biddyweb/criu,biddyweb/criu,rentzsch/criu,kawamuray/criu,tych0/criu,svloyso/criu,marcosnils/criu,gablg1/criu,efiop/criu,AuthenticEshkinKot/criu,ldu4/criu,kawamuray/criu,gonkulator/criu,gablg1/criu,biddyweb/criu,ldu4/criu,efiop/criu,wtf42/criu,fbocharov/criu,kawamuray/criu,gablg1/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,rentzsch/criu,sdgdsffdsfff/criu,biddyweb/criu,ldu4/criu,sdgdsffdsfff/criu