BUG: Fix unicode/str error when generating config file.
Merge pull request #59 from quantopian/fix_unicode_error

BUG: Fix unicode/str error when generating config file.