catch a TypeError in the default completion handler in cmd_ext, because in some cases pyreadline (on Windows) returns None; hopefully fixes #59