Fix jobtype rework test

file is a bultin name in Python 2.x