Make all Python scripts Python 3-friendly.