Fix upload artifact script.