Add filter args for dservice and fix the stat file bug;
Split the migrate2 execution; and add remote exection helper function.