Fix encoding issues when "shub deploy" is called with a custom "--version" argument.

version should be a bytestring when passed as a header value.