make the initial comment block reading work with TextIOWrapper streams, which is the default class when reading a text file in Python 3, by using seek instead of peek
prepare for pip