Google Code Issue 215: Properly detect seekable streams

This patch removes the hack that tests for sys.stdin to determine if
the stream is seekable (it has tell() and seek() but it is not
seekable), by actually calling tell() and seek().