ensure archive id when uploading to mediamosa