Update shutdown.py to remove non ASCII characters