'Initialize the output file.
Args:
filename: Filename to write.
bulkload_state: Passed bulkload_state.'

def initialize_export(self, filename, bulkload_state):

    self.bulkload_state = bulkload_state
    self.output_stream = open(filename, 'wb')
