bugfix: args.output is removed by the patch

- also, follow the latest code in utils.py
Merge pull request #224 from reallyenglish/10.0@tomoyukis

bugfix: args.output is removed by the patch