Remove tabs and newlines from SQL fed into explain links.

Having new lines and tabs in SQL explains can cause the links to not
work properly.

Fixes #140