Rewrite update-po target, so that it works less like a shell script and more