Fix bugs in bigquery storage driver.