moved str to Database conversion to freeze_export
changed API of dataset.freeze()

dataset.freeze() is now expecting a result iterable instead of database
and query.