fixed upload capitalization and whitespace stripping

Change-Id: Id3394efe843686596af4e92f4e37f3eb170e04f4