don't seek when opening

If the input is a stream, it will always fail.
Merge branch 'master' of github.com:attractivechaos/klib