fix(celery): make sure it returns int for file nums