clear cache with rmtree()

//cc @russellholt