Fix issue encoding the '%' character.

Fix issue encoding the '%' character in smokestack POST requests.