Flushing during IO#seek plus moving IO#rewind to lib-topaz