Remove dependency on osext; use shutil.rmtree for removing directory