Add from_fileobj method to TableSet to preserve compatibility