Add rmtree function for remove dump folder