mw-edit: Allow loading templates from stdin.