BUG: issue in PyTables with too many selectors in a where
TST: use ensure_clean contextmanager to avoid spewing temporary files if
     testing is interrupted
BUG: avoid creating a 0-len chunk