dbbase.py: closes df file descriptor