If you're writing bro input files with python and using csv, then csv.writer must have the correct parameters. For example,
write_model = csv.writer(model_file, delimiter='\x09', lineterminator = '\n')
These settings place tabs between the columns and terminate lines with the newline character.
Earl