fix msgid escaping (now works with "!" in message id)

Benjamin Mako Hill || Want to submit a patch?