fix typo and StringIO call

Conflicts:
	gammafit/onezone.py