change package for msgwriter.go