Drop python 2.5 support due to except as syntax