COMPAT: change pytables to use 3.0.0 API (GH7990)

closes #7990