SeqIO._lazy: refactor separates index handling from lazy proxy class