replace rmtree with one that handles unicode better