Fix character encoding in UpdateCommand#run

See https://gist.github.com/clayallsopp/6360189 - currently causes builds to fail