'Internal: raise an IOError if file is not seekable'

def _checkSeekable(self, msg=None):

    if (not self.seekable()):
        raise IOError((u'File    or    stream    is    not    seekable.' if (msg is None) else msg))
