Fix archive uploads. Fixes #7