ENH: update pytables for new scoping