Validate model archives magic numbers on upload. Fixes #9

Fixes #9 

Reviewers: @mhyee