fix to issue 163: open readable fileobj's in context manager