Fix ps backend from 2to3->six changes
backend_pgf: fix str/unicode comparison errors
Merge pull request #2404 from mdboom/ps-backend-encoding

Fix backend_ps.py
Fix syntax error on Python 3.2.
Merge pull request #2407 from pwuertz/fix_unicode_comp

backend_pgf: fix str/unicode comparison errors