Policies for tarfile.extractall, a.k.a. fixing CVE-2007-4559

I think this a case that compositions is better the inheritance.