fs: use an iterative algorithm for 'rmdir_recursive'