Python 3 fixes for DRMAA (again)