Move MaxMessageSize directive to before output line

We think that the order of directives may make a difference. It wasn't working
where it was.