Fixed uploadArchives

Fixes #228