Rewrite msgfmt task to use native ant commands.