fix deploy script

Signed-off-by: Marc MacLeod <marbemac@gmail.com>
fix caching encoding issue

Signed-off-by: Marc MacLeod <marbemac@gmail.com>