Move upload stemcell to separate function
Move upload stemcell to separate function

- stdout was being written to stemcell.yml stub

[#126915853]

Signed-off-by: Christian Ang <15ae83feccf4d84083a62aba1cdf46bd8ce2e33b@pivotal.io>

cloudfoundry/mega-ci,cloudfoundry/mega-ci