Fixed generate keyword argument in example code

Replaced output with outfile.
Merge pull request #32 from yaph/patch-1

Fixed generate keyword argument in example code