fix(archive): generate guid on server when creating items

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