Replace BZ2File with one that just derives from PythonFile.