Chrome doesn't seem to currently have a setting or extension to set the user-agent.
You can however define it with a command line argument:
chromium-browser --user-agent="richard"
Traceback (most recent call last):
File "stats.py", line 12, in
for i, row in enumerate(csv.reader(open(filename))):
_csv.Error: field larger than field limit (131072)
import sys
import csv
csv.field_size_limit(sys.maxint)