Fix all the failing Python 3+ errors.