fix pstoeps function in backend_ps.py