Make sure arguments in `args` are only strings

Required for python-2.6

Fixes #933
Merge branch 'fix-933' into develop