Fix upload tool

Minor changes with pub warning output and github requiring user agent in headers.