fix wrong keyword in example
Merge remote-tracking branch 'origin/dev' into dev
fix csv file writer flags(use wb insead of w)
Merge pull request #1799 from cwmine/dev

same minor fixes