Update SequenceFile.py

Corrected type check. (Copy and paste error?)