convert tabs in rl_history entries to spaces

This will lead to duplicate history entries because the strings
will no longer match, but it's an improvement