Fix unicode prompt

Fix #56 - UnicodeEncodeError when the prompt string contains non ascii characters.