compatibility with python < 2.7

`from __future__ import with_statement`
bugfix: harvesting from servers without sets

Fixes bug introduced by 6d85d4035b6cd1362af288bda33579050285424a
whereby servers that don't support sets would always raise
`NoSetHierarchyError`