Fixed an upload issue with archives