localrepo._tag: add a seek before writing the new tag
Some systems require a seek (or flush) between read and write
operations on the same file object.
This should fix issue838.
a -> a not a symlinka -> bNow at: base.patchapplying symlink.patchNow at: symlink.patcha -> b