close Dbf().stream when file of Dbf(file) is str, if it is IOBase will not close the stream