Handle rmtree errors