Make str() method of SrtItem function properly in both Python 2 and 3