Fix up msftidy warnings on rex/text.rb

Uncovered in https://github.com/rapid7/metasploit-framework/pull/1944/files

Even though it's not your code, if msftidy warns at you, the effort should be made to clean it up on the spot, especially if it's easy stuff like this. No need to preserve bad formatting.