Make `deploy' py3k compatible