conf: don't use keyword `errors` for `str.encode`

This is not supported with Python 2.6. Just use it as a positional
argument.
Merge pull request #35 from vincentbernat/fix/php-unicode

conf: don't use keyword `errors` for `str.encode`