Fix ui.Ask to return strings with spaces from stdin

Hi.

I'm happy to help with it. The issue was in ui.Ask method, which used for windows terminal ui implementation (and there's a custom implementation for unix terminal ui). I think it's a good idea to fix this method, not just windows password prompt because in theory other prompts could contain spaces (such as login for instance).