Make pythonrc python3 compatible.