tab: some file loading post-processing

Goto line and save encoding metadata.