Put uploadArchives in its own file

Signed-off-by: Ian Macalinao <me@ian.pw>