Fix DSSP changes under Python 2.5 (with statement)