bin2h/css2c: python2 fixes