pbs: open device for output in write mode

As found by jm@nexedi.com :

>>> with open('/dev/null') as f:
...   subprocess.check_call(('echo', 'foo'), stdout=f)

echo: write error: Bad file descriptor
2 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed SlapOS.SoftwareReleases.IntegrationTest-Master.Python2

04:33:43

passed SlapOS.SoftwareReleases.IntegrationTest-Master.Python3

02:22:45