Avoid traceback in utf-8 username