Strip trailing whitespace from dmenu output...

I don't think it used to do this, but now dmenu seems to be
adding a `\n` on the end of the output.