On the menu class in core, found a white space after the closing php tag.