Tilde char works in CLI. Fixes bug 874476

I have not been able to test this, since there is no testmanifest for mozrunner.